#pragma once
#include <string>

class Gun {
public:
    Gun(const std::string &type) {
        this->type = type;
        this->bullet_count = 0;
    }

    void addBullet(int count);
    bool shoot();
private:
    int bullet_count;
    std::string type;
};